package com.cy;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author: Luckyh
 * @date : 2021/4/9 14:23
 */
@RestController
@RequestMapping("/provider/template")
public class RestProviderController {
    @PostMapping
    public Map<String,Object> doPost(@RequestBody Map<String,Object> map){
        System.out.println("consumer provider :"+map);
        return map;
    }
}
